from src.application.bot_settings.dto import BotSettingsDTO
from src.infrastructure.db.models import BotSettings


def convert_bot_settings_db_model_to_dto(bot_settings: BotSettings) -> BotSettingsDTO:
    return BotSettingsDTO(
        order_archiving_status=bot_settings.order_archiving_status,
        order_notify_status=bot_settings.order_notify_status,
        order_autorenew_status=bot_settings.order_autorenew_status,
        proxy_checker_status=bot_settings.proxy_checker_status,
    )
